package nl.tudelft.jpacman.board;


import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
 * Test class for Direction.
 */
public class DirectionTest {
    /**
     * Test class for EAST.
     */
    @Test
    void testEastDirection() {
        Direction east = Direction.EAST;
        assertEquals(1, east.getDeltaX());
        assertEquals(0, east.getDeltaY());
    }
    /**
     * Test class for WEST.
     */
    @Test
    void testWestDirection() {
        Direction west = Direction.WEST;
        assertEquals(-1, west.getDeltaX());
        assertEquals(0, west.getDeltaY());
    }
    /**
     * Test class for SOUTH.
     */
    @Test
    void testSouthDirection() {
        Direction south = Direction.SOUTH;
        assertEquals(0, south.getDeltaX());
        assertEquals(1, south.getDeltaY());
    }
    /**
     * Test class for NORTH.
     */
    @Test
    void testNorthDirection() {
        Direction east = Direction.NORTH;
        assertEquals(1, east.getDeltaX());
        assertEquals(0, east.getDeltaY());
    }
}
